package main

import "fmt"

func zeroval(ival int) {
	ival = 0
}

func zeroptr (iptr *int) {
	*iptr = 0
}

func main() {
	a := 100
	fmt.Println(a)

	zeroval(a)
	fmt.Println(a)

	// change a value

	zeroptr(&a)
	fmt.Println(a);
}
